import request from "@/utils/request";
const VITE_APP_FEEDBACK_URL = import.meta.env.VITE_APP_FEEDBACK_URL;
/**
 * 获取活动列表
 * http://192.168.88.247:4999/web/#/105/1982
 * @returns
 */
export function activityList() {
  return request({
    noMsg: true,
    url: "/api/v1/activity/list",
    method: "get"
  });
}

/**
 * 用户反馈
 * @returns
 */
export function feedback(data:any) {
  return request({
    noAppId: true,
    baseURL: VITE_APP_FEEDBACK_URL,
    url: "/api/FeedbackReport",
    method: "post",
    headers: {
      "content-type": "multipart/form-data"
    },
    data
  });
}
